import 'package:flutter/material.dart';

class Setting extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('设置'),
        elevation: 0,
      ),
      body: Container(
        padding: EdgeInsets.all(15),
        child: Column(
          children: [
            Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: [
                Row(
                  children: [
                    Container(
                      child: Icon(Icons.dns_outlined),
                    ),
                    Container(
                      margin: EdgeInsets.only(left: 5),
                      child: Text('注册协议'),
                    )
                  ],
                ),
                Container(
                  child: Icon(
                    Icons.arrow_forward_ios_rounded,
                    color: Color.fromRGBO(225, 225, 225, 1),
                  ),
                )
              ],
            ),
            Container(
              margin: EdgeInsets.all(15),
              child: Divider(
                color: Color.fromRGBO(225, 225, 225, 1),
              ),
            ),
            Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: [
                Row(
                  children: [
                    Container(
                      child: Icon(Icons.dns_outlined),
                    ),
                    Container(
                      margin: EdgeInsets.only(left: 5),
                      child: Text('购物协议'),
                    )
                  ],
                ),
                Container(
                  child: Icon(
                    Icons.arrow_forward_ios_rounded,
                    color: Color.fromRGBO(225, 225, 225, 1),
                  ),
                )
              ],
            ),
          ],
        ),
      ),
    );
  }
}
